from fbase.models import Object

from .basemodels import *


class BusinessLineMonthlyReport(BusinessLineReportBase):
    class Meta:
        verbose_name_plural = '业务线月度收入支出表	'
        verbose_name = verbose_name_plural
        unique_together = (("businessline", "month"),)
        ordering = ['month']


class BusinessLineAccReport(BusinessLineReportBase):
    class Meta:
        verbose_name_plural = '业务线累计收入支出表'
        verbose_name = verbose_name_plural
        unique_together = (("businessline", "month"),)
        ordering = ['month']


class BusinessDeptMonthlyReport(BusinessDeptReportBase):
    class Meta:
        verbose_name_plural = '事业部月度收入支出表	'
        verbose_name = verbose_name_plural
        unique_together = (("businessdept", "month"),)
        ordering = ['month']


class BusinessDeptAccReport(BusinessDeptReportBase):
    class Meta:
        verbose_name_plural = '事业部累计收入支出表'
        verbose_name = verbose_name_plural
        unique_together = (("businessdept", "month"),)
        ordering = ['month']
